package cn.klaw.model.login;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 登陆时返回系统配置信息
 *
 *
 * @version V3.1.0
 *
 * @date 2022年3月7日08:58:52
 */
@Data
public class SystemInfo {
    /**
     * 系统名称
     */
    public String sysName;

    /**
     * 系统版本
     */
    public String sysVersion;

    /**
     * 登录图标
     */
    public String loginIcon;

    /**
     * 版权信息
     */
    public String copyright;

    /**
     * 公司名称
     */
    public String companyName;

    /**
     * 导航图标
     */
    public String navigationIcon;

    /**
     * Logo图片
     */
    public String workLogoIcon;

    /**
     * logo图标
     */
    public String logoIcon;

    /**
     * App图标
     */
    public String appIcon;

    @Schema(description = "窗口标题")
    private String title;

    /**
     * 后端服务器域名
     */
    private String klawDomain;

    @Schema(description = "用户密码")
    private String newUserDefaultPassword;

    /*以下日程相关属性添加*/
    @Schema(description = "默认视图")
    private String defaultView;
    @Schema(description = "显示农历")
    private Boolean showLunarCalendar;
    @Schema(description = "周第一天")
    private Integer firstDay;
    @Schema(description = "默认时长")
    private Integer duration;

    @Schema(description = "流程签收")
    private Integer flowSign = 0;
    @Schema(description = "流程待办")
    private Integer flowTodo = 0;
    /**
     * 1:无范围限制  2:同一部门  3:同一岗位  6:同一公司
     */
    @Schema(description = "委托范围")
    private Integer delegateScope = 1;
    @Schema(description = "委托确认")
    private Integer delegateAck = 0;
    @Schema(description = "代理范围")
    private Integer proxyScope = 1;
    @Schema(description = "代理确认")
    private Integer proxyAck = 0;
    @Schema(description = "加签层级")
    private Integer addSignLevel = 1;

    /**
     * 是否开启水印
     */
    @Schema(description = "是否开启水印")
    private Integer showWaterMark;

    private String waterMarkConfig;
}
